Skip to content

Go: de-bazel checks in test action - #22372

Merged
redsun82 merged 1 commit into
mainfrom
redsun82-go-checks-debazel
Aug 19, 2026
Merged

Go: de-bazel checks in test action#22372
redsun82 merged 1 commit into
mainfrom
redsun82-go-checks-debazel

Conversation

@redsun82

Copy link
Copy Markdown
Contributor

Why

The generated-code drift check and the gofmt formatting check are moving to a companion CI job that can piggyback on that pipeline's bazel cache. To avoid running them in two places, we drop those two checks here and keep a lightweight, non-bazel go build sanity check so this repo still verifies the Go extractor compiles with the standard toolchain.

Changes to go/actions/test/action.yml

  • Remove the generated-code drift check (bazel run go:gen + git diff).
  • Remove the gofmt check (cd go && make check-formatting).
  • Replace the bazel build (bazel run go:go-installer) with a plain cd go/extractor && go build ./....
  • Keep the qhelp-to-markdown compile + upload steps unchanged.

Note

This depends on the companion change landing first. Merging this before that lands would leave a short window where neither side runs the codegen + gofmt checks.

The codegen drift and gofmt checks move to `semmle-code`, so drop them
here to avoid duplication and replace the bazel build with a plain
`go build ./...` sanity check. Keep the qhelp-to-markdown steps.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot added the Go label Aug 18, 2026
@redsun82
redsun82 marked this pull request as ready for review August 19, 2026 06:11
@redsun82
redsun82 requested a review from a team as a code owner August 19, 2026 06:11
Copilot AI balanced review requested due to automatic review settings August 19, 2026 06:11
@redsun82
redsun82 merged commit 152c73a into main Aug 19, 2026
11 checks passed
@redsun82
redsun82 deleted the redsun82-go-checks-debazel branch August 19, 2026 06:11

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Replaces Bazel-based Go extractor checks with a lightweight standard Go build while delegating formatting and generated-code checks to companion CI.

Changes:

  • Removes Bazel code-generation and formatting checks.
  • Builds extractor packages with go build ./....
  • Retains optional qhelp generation and upload.
Show a summary per file
File Description
go/actions/test/action.yml Simplifies Go extractor CI checks and removes Bazel build usage.

Review details

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Balanced

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants